{* -------------------------------------------------------------- shipcloud_configuration.html 2020-05-13 Gambio GmbH http://www.gambio.de Copyright (c) 2017 Gambio GmbH Released under the GNU General Public License (Version 2) [http://www.gnu.org/licenses/gpl-2.0.html] -------------------------------------------------------------- *}
{block name="admin_module_center_shipcloud_configuration"} {block name="admin_module_center_shipcloud_configuration_heading"}

{if $tab_urls.info} {block name="admin_module_center_shipcloud_configuration_heading_config_tab_info"}
##config_tab_info
{/block} {/if} {block name="admin_module_center_shipcloud_configuration_heading_config_tab_default"}
##config_tab_default
{/block} {block name="admin_module_center_shipcloud_configuration_heading_config_tab_package_templates"}
##config_tab_package_templates
{/block}

{/block} {block name="admin_module_center_shipcloud_configuration_form"} {block name="admin_module_center_shipcloud_configuration_form_credentials"}

{block name="admin_module_center_shipcloud_configuration_form_credentials_title"}
##credentials
{/block} {block name="admin_module_center_shipcloud_configuration_form_credentials_api_key_live"}
##api_key_live | {if $configuration.api_key_live == ''} ##unconfigured_shipcloud_linktext {/if}
{/block}

{/block} {block name="admin_module_center_shipcloud_configuration_form_miscellaneous_settings"}

{block name="admin_module_center_shipcloud_configuration_form_miscellaneous_settings_title"}
##misc_settings
{/block} {block name="admin_module_center_shipcloud_configuration_form_miscellaneous_settings_api_key_sandbox"}
##api_key_sandbox |
{/block} {block name="admin_module_center_shipcloud_configuration_form_miscellaneous_settings_mode"}
##mode |
{/block} {block name="admin_module_center_shipcloud_configuration_form_miscellaneous_settings_debug_logging"}
##debug_logging |
{/block} {block name="admin_module_center_shipcloud_configuration_form_miscellaneous_settings_api_timeout"}
##api_timeout | ##api_timeout_tt
{/block} {block name="admin_module_center_shipcloud_configuration_form_miscellaneous_settings_parcel_service"}
##parcel_service |
{/block} {block name="admin_module_center_shipcloud_configuration_form_miscellaneous_settings_order_status_after_label"}
##order_status_after_label |
{/block} {block name="admin_module_center_shipcloud_configuration_form_miscellaneous_settings_notify_customer"}
##notify_customer |
{/block} {block name="admin_module_center_shipcloud_configuration_form_miscellaneous_settings_prefill_email"}
##prefill_email |
{/block} {block name="admin_module_center_shipcloud_configuration_form_miscellaneous_settings_prefill_phone"}
##prefill_phone |
{/block} {block name="admin_module_center_shipcloud_configuration_form_miscellaneous_settings_advance_notice_cargo_intl"} {if $preselected_carriers.preselected_carriers['cargo_international'] == 1}
##use_advance_notice_cargo_intl | ##use_advance_notice_cargo_intl_note
{/if} {/block} {block name="admin_module_center_shipcloud_configuration_form_miscellaneous_settings_advance_notice_dhl"} {if $preselected_carriers.preselected_carriers['dhl'] == 1}
##use_advance_notice_dhl | ##use_advance_notice_dhl_note
##use_dhl_gogreen |
##use_dhl_premium_international |
{/if} {/block} {block name="admin_module_center_shipcloud_configuration_form_miscellaneous_settings_advance_notice_dpd"} {if $preselected_carriers.preselected_carriers['dpd'] == 1}
##use_advance_notice_dpd | ##use_advance_notice_dpd_note
{/if} {/block} {block name="admin_module_center_shipcloud_configuration_form_miscellaneous_settings_advance_notice_gls"} {if $preselected_carriers.preselected_carriers['gls'] == 1}
##use_advance_notice_gls | ##use_advance_notice_gls_note
{/if} {/block} {block name="admin_module_center_shipcloud_configuration_form_miscellaneous_settings_advance_notice_hermes"} {if $preselected_carriers.preselected_carriers['hermes'] == 1}
##use_advance_notice_hermes | ##use_advance_notice_hermes_note
{/if} {/block} {block name="admin_module_center_shipcloud_configuration_form_miscellaneous_settings_prefill_description"}
##prefill_description |
{/block} {block name="admin_module_center_shipcloud_configuration_form_miscellaneous_settings_declared_value_min"}
##declared_value_min | ##declared_value_tt
{/block} {block name="admin_module_center_shipcloud_configuration_form_miscellaneous_settings_declared_value_max"}
##declared_value_max | ##declared_value_tt
{/block}

{/block} {block name="admin_module_center_shipcloud_configuration_form_sender"}

{block name="admin_module_center_shipcloud_configuration_form_sender_title"}
##sender
{/block} {block name="admin_module_center_shipcloud_configuration_form_sender_from_company"}
##from_company |
{/block} {block name="admin_module_center_shipcloud_configuration_form_sender_from_firstname"}
##from_first_name |
{/block} {block name="admin_module_center_shipcloud_configuration_form_sender_from_lastname"}
##from_last_name |
{/block} {block name="admin_module_center_shipcloud_configuration_form_sender_from_street"}
##from_street |
{/block} {block name="admin_module_center_shipcloud_configuration_form_sender_from_streetnumber"}
##from_street_no |
{/block} {block name="admin_module_center_shipcloud_configuration_form_sender_from_city"}
##from_city |
{/block} {block name="admin_module_center_shipcloud_configuration_form_sender_from_zip_code"}
##from_zip_code |
{/block} {block name="admin_module_center_shipcloud_configuration_form_sender_from_country"}
##from_country |
{/block} {block name="admin_module_center_shipcloud_configuration_form_sender_from_phone"}
##from_phone |
{/block}

{/block} {block name="admin_module_center_shipcloud_configuration_form_cod_account"}

{block name="admin_module_center_shipcloud_configuration_form_cod_account_title"}
##cod_account
{/block} {block name="admin_module_center_shipcloud_configuration_form_cod_account_bank_account_holder"}
##bank_account_holder |
{/block} {block name="admin_module_center_shipcloud_configuration_form_cod_account_bank_name"}
##bank_name |
{/block} {block name="admin_module_center_shipcloud_configuration_form_cod_account_bank_account_number"}
##bank_account_number |
{/block} {block name="admin_module_center_shipcloud_configuration_form_cod_account_bank_code"}
##bank_code |
{/block}

{/block} {if ($configuration.mode == 'live' && $configuration.api_key_live != '') || ($configuration.mode == 'sandbox' && $configuration.api_key_sandbox != '')} {block name="admin_module_center_shipcloud_configuration_form_webhook"}

{block name="admin_module_center_shipcloud_configuration_form_webhook_title"}
##webhook
{/block} {block name="admin_module_center_shipcloud_configuration_form_webhook_status"}
##webhook_status | {if $configuration.webhook_id} ##webhook_registered {$configuration.webhook_id} {else} ##webhook_not_registered {/if}
{/block} {block name="admin_module_center_shipcloud_configuration_form_webhook_action"}
| {if $configuration.webhook_id} {else} {/if}
{/block} {if $configuration.webhook_id} {block name="admin_module_center_shipcloud_configuration_form_webhook_orderstatus_label_created"}
##order_status_webhook_label_created |
{/block} {block name="admin_module_center_shipcloud_configuration_form_webhook_orderstatus_picked_up"}
##order_status_webhook_picked_up |
{/block} {block name="admin_module_center_shipcloud_configuration_form_webhook_orderstatus_transit"}
##order_status_webhook_transit |
{/block} {block name="admin_module_center_shipcloud_configuration_form_webhook_orderstatus_out_for_delivery"}
##order_status_webhook_out_for_delivery |
{/block} {block name="admin_module_center_shipcloud_configuration_form_webhook_orderstatus_delivered"}
##order_status_webhook_delivered |
{/block} {block name="admin_module_center_shipcloud_configuration_form_webhook_orderstatus_awaits_pickup_by_receiver"}
##order_status_webhook_awaits_pickup_by_receiver |
{/block} {block name="admin_module_center_shipcloud_configuration_form_webhook_orderstatus_canceled"}
##order_status_webhook_canceled |
{/block} {block name="admin_module_center_shipcloud_configuration_form_webhook_orderstatus_delayed"}
##order_status_webhook_delayed |
{/block} {block name="admin_module_center_shipcloud_configuration_form_webhook_orderstatus_exception"}
##order_status_webhook_exception |
{/block} {block name="admin_module_center_shipcloud_configuration_form_webhook_orderstatus_not_delivered"}
##order_status_webhook_not_delivered |
{/block} {block name="admin_module_center_shipcloud_configuration_form_webhook_orderstatus_destroyed"}
##order_status_webhook_destroyed |
{/block} {block name="admin_module_center_shipcloud_configuration_form_webhook_orderstatus_notification"}
##order_status_webhook_notification |
{/block} {block name="admin_module_center_shipcloud_configuration_form_webhook_orderstatus_unknown"}
##order_status_webhook_unknown |
{/block} {block name="admin_module_center_shipcloud_configuration_form_webhook_orderstatus_autoconfigure"}
##orderstatus_autoconfigure |
{/block} {/if}

{/block} {/if} {if $carriers} {block name="admin_module_center_shipcloud_configuration_form_carriers_preselection"}

{block name="admin_module_center_shipcloud_configuration_form_carriers_preselection_thead"}
{block name="admin_module_center_shipcloud_configuration_form_carriers_preselection_thead_ths"} ##carrier | ##display_carrier | ##checked_carrier {/block}
--- | --- | ---
{/block} {block name="admin_module_center_shipcloud_configuration_form_carriers_preselection_body"}
{foreach from=$carriers item=carrier} {block name="admin_module_center_shipcloud_configuration_form_carriers_preselection_row"}
{block name="admin_module_center_shipcloud_configuration_form_carriers_preselection_row_tds"} {$carrier->display_name} | name] == '1'}checked="checked"{/if} > | name] == '1'}checked="checked"{/if} > {/block}
{/block} {/foreach}
{/block}

{/block} {/if} {block name="admin_module_center_shipcloud_configuration_buttons"}
{block name="admin_module_center_shipcloud_configuration_buttons_submit"} {/block}
{/block} {/block} {/block}